package com.jade.store.pay.entity;

import com.jade.bss.db.IdEntity;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 *
 * User: jinya
 * Date: 2016/12/19
 * Time: 17:04
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "STORE_PAY_WITH_DRAW")
public class WithDraw extends IdEntity {
    public static final int STATUS_NO = 1;//未提现
    public static final int STATUS_YEW = 11;//提现成功
    private  String title;//标题
    private  long storeId=0;//店铺编号
    private  String storeName;//店铺名称
    private  long employeeId=0;//员工编号
    private  String employeeName;//员工姓名
    private  String payNo;//支付编号 系统支付
    //状态
    private int status=STATUS_NO;
    //交易金额
    private BigDecimal amount=new BigDecimal(0);
    //手续费
    private BigDecimal counterFee=new BigDecimal(0);
    //结算金额
    private BigDecimal settleFee=new BigDecimal(0);
    //提现流水号
    private String serialNumber;
    //订单号
    private String orderNo;
    //支付方式
    private String payType;
    //备注
    private String remark;

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getCounterFee() {
        return counterFee;
    }

    public void setCounterFee(BigDecimal counterFee) {
        this.counterFee = counterFee;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public long getStoreId() {
        return storeId;
    }

    public void setStoreId(long storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public BigDecimal getSettleFee() {
        return settleFee;
    }

    public void setSettleFee(BigDecimal settleFee) {
        this.settleFee = settleFee;
    }
}
